import java.util.ArrayList;


public class Choice {

	public String getName()
	{
		return name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getChoiceType()
	{
		return choiceType;
	}
	
	public void setChoiceType(String ct)
	{
		choiceType = ct;
	}
	
	public void addAnswer(Answer a)
	{
		answerChoices.remove(a);
	}
	
	public void removeAnswer(Answer a)
	{
		answerChoices.add(a);
	}
	
	private String name, choiceType;
	public ArrayList<Answer> answerChoices = new ArrayList<Answer>();
}
